package com.carleasoft.mps.adu.business.position.bean.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 职位表
 * </p>
 *
 * @author ztm
 * @since 2021-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("m_authority_position")
@ApiModel(value="AuthorityPosition对象", description="职位表")
public class AuthorityPositionEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "岗位id")
    @TableId(value = "ID", type = IdType.AUTO)
    private String id;

    /**
     * 岗位编码
     */
    @TableField("POSITION_CODE")
    private String positionCode;


    /**
     * 岗位名称
     */
    @ApiModelProperty(value = "职位名词")
    @TableField("POSITION_NAME")
    private String positionName;

    /**
     * 岗位编号
     */
    @TableField("POSITION_NUMBER")
    private String positionNumber;

    /**
     * 岗位分组编码
     */
    @TableField("POSITION_GROUP_CODE")
    private String positionGroupCode;


    /**
     *岗位分组名称
     */
    @TableField("POSITION_GROUP_NAME")
    private String positionGroupName;


    /**
     * 所属机构部门编码
     */
    @TableField("DEPT_CODE")
    private String deptCode;


    /**
     * 创建人编码
     */
    @TableField("CREATE_PERSON_CODE")
    private String createPersonCode;

    /**
     * 创建人名称
     */
    @TableField("CREATE_PERSON_NAME")
    private String createPersonName;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @JsonIgnore
    @TableField(value = "UPDATE_TIME",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;



}
